package com.tianya.domain.vo;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 课程响应VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CourseVO {
    /**
     * 课程ID
     */
    private Long id;
    /**
     * 课程名称
     */
    private String name;
    /**
     * 课程描述
     */
    private String description;
    /**
     * 教师ID
     */
    private Long teacherId;
    /**
     * 教师姓名
     */
    private String teacherName;
    private String avatar;
    /**
     * 课程价格
     */
    private BigDecimal price;
    /**
     * 课程时长
     */
    private Integer durationHours;
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}